// 2023-03-25 09:31:09
import express from "express"
import DiaryController from "../../controller/diaryController/diaryController.js";
import { upload } from "../../util/multer.js"


const diaryRouter = express.Router();
diaryRouter.get('/getDiaryList', DiaryController.GetDiaryList)
diaryRouter.get('/getAllDiaryList', DiaryController.GetAllDiaryList)
diaryRouter.post('/insertDiary', DiaryController.InsertDiary)
diaryRouter.put('/updateDiary', DiaryController.EditDiary)


export default diaryRouter;